/*
 * @Date: 2024-02-20 11:03:47
 * @Auth: 463997479@qq.com
 * @LastEditors: 463997479@qq.com
 * @LastEditTime: 2024-02-28 11:38:59
 * @FilePath: \ztc-web\src\api\assessment\index.js
 */
import request from "@/utils/request";

// 查询定时任务调度列表
export function exportExcel(query) {
  return request({
    url: "/business/black/export",
    method: "post",
    data: query,
  });
}
export function getZtcRedBlackList(query) {
  return request({
    url: "/business/black/getZtcRedBlackList",
    method: "get",
    params: query,
  });
}

export function addBlack(query) {
  return request({
    url: "/business/black",
    method: "post",
    data: query,
  });
}

export function getRedBlackConstitute(query) {
  return request({
    url: "/business/black/getRedBlackConstitute",
    method: "get",
    params: query,
  });
}

export function getList(query) {
  return request({
    url: "/business/black/list",
    method: "get",
    params: query,
  });
}

export function getInvalidEventList(query) {
  return request({
    url: "/business/event/getInvalidEventList",
    method: "get",
    params: query,
  });
}
